<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
    <base href="<%=basePath%>"/>
    <link rel="stylesheet" type="text/css" href="css/reset.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="css/text.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="css/grid.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="css/layout.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="css/nav.css" media="screen" />
<script type="text/javascript">
	function logout(){
	  top.location.href="logout.action";  //这一句就可以实现访问.do，自动提交	 
  	}
</script>
</head>
<body>
  <div class="container_12">
        <div class="grid_12 header-repeat">
        	<img alt="Profile Pic" src="img/examOnline.png" style="width:280px;height:70px; float:left; padding-left:300px;" />
            <div id="branding">
                <div class="floatright">
                    <div class="floatleft">
                        <img src="img/img-profile.jpg" alt="Profile Pic" /></div>
                    <div class="floatleft marginleft10">
                        <ul class="inline-ul floatleft">
                        	<s:if test="#session.master.issuper==1"><li>超级管理员</li></s:if>
                        	<s:else><li>管理员</li></s:else>
                            <li>${session.master.masterid }</li>
                            <li><a target="topFrame" onclick="logout()" href="#">退出系统</a></li>
                        </ul>
                    </div>
                </div>
                <div class="clear">
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
    </div>    
</body>
</html>
